<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2023/7/25
  Time: 9:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title></title>
    <link rel="stylesheet" href="${pageContext.servletContext.contextPath}/css/pintuer.css">
    <link rel="stylesheet" href="${pageContext.servletContext.contextPath}/css/admin.css">
    <script src="${pageContext.servletContext.contextPath}/js/jquery.js"></script>
    <script src="${pageContext.servletContext.contextPath}/js/pintuer.js"></script>
</head>
<body>
<div class="panel admin-panel">
    <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>修改个人计划</strong></div>
    <div class="body-content">
        <form method="post" class="form-x" action="${pageContext.servletContext.contextPath}/trainingPlan/update">
            <input type="hidden" name="planId" value="${trainingPlan.planId}">
            <div class="form-group">
                <div class="label">
                    <label>培训主题：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" value="${trainingPlan.motif}" name="motif" data-validate="required:请输入培训主题" />
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>培训日期：</label>
                </div>
                <div class="field">
                    <input type="datetime-local" value="<fmt:formatDate value="${trainingPlan.trainingTime}" pattern="yyyy-MM-dd HH:mm"/>" name="trainingTime">
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>培训内容：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" value="${trainingPlan.content}" name="content" data-validate="required:请输入培训内容" />
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>参加人员：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" value="${trainingPlan.trainingPersonnel}" name="trainingPersonnel" data-validate="required:请输入参加人员" />
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label></label>
                </div>
                <div class="field">
                    <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
                </div>
            </div>
        </form>
    </div>
</div>
</body></html>